package com.zui.webapp.action;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.zui.manager.SessionManager;

public class MainAction extends BaseAction {

	private static final long serialVersionUID = 1L;

	private static final Log log = LogFactory.getLog(PersonAction.class);

	public MainAction() {
	}

	public MainAction(SessionManager sessionManager) {
		this.sessionManager = sessionManager;
	}

	// fields without getter method are not serialized
	@Autowired
	private SessionManager sessionManager;
	
	public String showHomePage() {	
		return "homePage";
	}
	public String showTradingPage() {	
		return "tradingPage";
	}

}
